package by.grsu.pps.domain;

import by.grsu.pps.service.IUser;

public class User implements IUser {
	private Integer id;
	private String login;
	private String password;
	private UserType usertype;
	private String firstname;
	private String lastname;

	public User(Integer id, String login, String password, UserType usertype,
			String firstname, String lastname) {
		super();
		this.id = id;
		this.login = login;
		this.password = password;
		this.usertype = usertype;
		this.firstname = firstname;
		this.lastname = lastname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public UserType getUserType() {
		return usertype;
	}

	public void setUserType(UserType usertype) {
		this.usertype = usertype;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public Integer getId() {
		return id;
	}

	public String getLogin() {
		return login;
	}
}
